package com.exahq.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.exahq.entity.Organizations;
import com.exahq.mapper.IndustryMapper;
import com.exahq.mapper.OrganizationsMapper;
import com.exahq.service.OrganizationsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lhq
 * @since 2021-02-06
 */
@Service
public class OrganizationsServiceImpl extends ServiceImpl<OrganizationsMapper, Organizations> implements OrganizationsService {
@Autowired
private OrganizationsMapper organizationsMapper;
    @Override
    public List<Organizations> selectList(QueryWrapper<Organizations> queryWrapper) {
        return organizationsMapper.selectList(queryWrapper);
    }

    @Override
    public List<String> getList() {
        return organizationsMapper.getList();
    }

    @Override
    public Integer delete(Integer id) {
        return organizationsMapper.deleteById(id);
    }
}
